@echo off
setlocal

set BOOST_INCLUDE_ROOT=D:\Work\boost-1.88.0
set BOOST_LIB_X64_RELEASE_ROOT=D:\Work\boost-1.88.0\stage\x64\Release\lib
set BOOST_LIB_X64_DEBUG_ROOT=D:\Work\boost-1.88.0\stage\x64\Debug\lib
set BOOST_LIB_WIN32_RELEASE_ROOT=D:\Work\boost-1.88.0\stage\Win32\Release\lib
set BOOST_LIB_WIN32_DEBUG_ROOT=D:\Work\boost-1.88.0\stage\Win32\Debug\lib

rem 创建输出目录
if not exist .\lib mkdir .\lib
if not exist .\lib\x64 mkdir .\lib\x64
if not exist .\lib\Win32 mkdir .\lib\Win32
if not exist .\lib\x64\Debug mkdir .\lib\x64\Debug
if not exist .\lib\x64\Release mkdir .\lib\x64\Release
if not exist .\lib\Win32\Debug mkdir .\lib\Win32\Debug
if not exist .\lib\Win32\Release mkdir .\lib\Win32\Release
if not exist .\include mkdir .\include
if not exist .\include\hiredis mkdir .\include\hiredis
if not exist .\include\hiredis\adapters mkdir .\include\hiredis\adapters

robocopy %BOOST_INCLUDE_ROOT%\boost .\include\boost /E /COPYALL /R:1 /W:1 /NFL /NDL

rem 复制64位Debug库
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_filesystem-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_container-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_log-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_log_setup-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_thread-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_atomic-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_json-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_locale-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_chrono-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug
copy %BOOST_LIB_X64_DEBUG_ROOT%\boost_stacktrace_windbg-vc143-mt-gd-x64-1_88.* .\lib\x64\Debug

rem 复制64位Release库
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_filesystem-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_container-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_log-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_log_setup-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_thread-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_atomic-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_json-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_locale-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_chrono-vc143-mt-x64-1_88.* .\lib\x64\Release
copy %BOOST_LIB_X64_RELEASE_ROOT%\boost_stacktrace_windbg-vc143-mt-x64-1_88.* .\lib\x64\Release

rem 复制32位Debug库
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_filesystem-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_container-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_log-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_log_setup-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_thread-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_atomic-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_json-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_locale-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_chrono-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug
copy %BOOST_LIB_WIN32_DEBUG_ROOT%\boost_stacktrace_windbg-vc143-mt-gd-x32-1_88.* .\lib\Win32\Debug

rem 复制32位Release库
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_filesystem-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_container-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_log-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_log_setup-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_thread-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_atomic-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_json-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_locale-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_chrono-vc143-mt-x32-1_88.* .\lib\Win32\Release
copy %BOOST_LIB_WIN32_RELEASE_ROOT%\boost_stacktrace_windbg-vc143-mt-x32-1_88.* .\lib\Win32\Release

